package com.iwhalecloud.citybrain.flow.platform.manager.infrastructure.mapper;

import com.iwhalecloud.citybrain.flow.platform.manager.infrastructure.entities.FlowNodeCandidateSettings;
import com.iwhalecloud.citybrain.flow.platform.manager.infrastructure.entities.FlowNodeCandidateSettingsExample;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Description 流程下一节点候选人设置mapper
 * @author liujinjina
 * @date 2021-10-22
 * @version 1.0
 */
@Repository
public interface FlowNodeCandidateSettingsMapper {
    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table flow_node_candidate_settings
     *
     * @mbggenerated
     */
    int deleteByPrimaryKey(Long id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table flow_node_candidate_settings
     *
     * @mbggenerated
     */
    int insert(FlowNodeCandidateSettings record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table flow_node_candidate_settings
     *
     * @mbggenerated
     */
    int insertSelective(FlowNodeCandidateSettings record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table flow_node_candidate_settings
     *
     * @mbggenerated
     */
    FlowNodeCandidateSettings selectByPrimaryKey(Long id);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table flow_node_candidate_settings
     *
     * @mbggenerated
     */
    int updateByPrimaryKeySelective(FlowNodeCandidateSettings record);

    /**
     * This method was generated by MyBatis Generator.
     * This method corresponds to the database table flow_node_candidate_settings
     *
     * @mbggenerated
     */
    int updateByPrimaryKey(FlowNodeCandidateSettings record);

    /**
     * @Description 根据条件查询流程节点候选人设置记录集合
     * @author liujinjian
     * @date 2021-10-22
     * @param example
     * @version 1.0
     * @return
     */
    List<FlowNodeCandidateSettings> selectByExampleWithCriteria(FlowNodeCandidateSettingsExample example);
}